package com.example.backgroundmanger.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 坤哥
 * @since 2024-07-04
 */
@Getter
@Setter
@TableName("sys_role")
@Schema(name = "Role", description = "")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

      @Schema(description = "角色ID")
        @TableId(value = "role_id", type = IdType.AUTO)
      private Integer roleId;

      @Schema(description = "角色名称")
      private String roleName;

      @Schema(description = "角色描述")
      private String roleDesc;

      @Schema(description = "角色唯一值")
      private String unkey;
}
